﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="TweetStream.Extensions.YouTube.InlineHtml"
	d:DesignWidth="640" d:DesignHeight="480">

	<Grid x:Name="LayoutRoot">
		<Rectangle Fill="White" Margin="4">
			<Rectangle.Effect>
				<DropShadowEffect BlurRadius="12" ShadowDepth="0" Opacity="0.5"/>
			</Rectangle.Effect>
		</Rectangle>
		<WebBrowser x:Name="wbMain" Margin="4" LoadCompleted="wbMain_LoadCompleted" Opacity="0" />
        <Rectangle x:Name="brush" Visibility="Collapsed">
            <Rectangle.Fill>
                <WebBrowserBrush x:Name="htmlBrush" SourceName="wbMain"/>
            </Rectangle.Fill>
        </Rectangle>
        <Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Cursor="Hand" x:Name="recReadOnly" Fill="White" Opacity="0"></Rectangle>
    </Grid>
</UserControl>